<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AvansRS.Domain.Account>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Wachtwoord resetten</h2>
    <%= Html.ValidationSummary("Wachtwoord resetten mislukt.") %>

    <% using (Html.BeginForm()) {%>      
    <%=Html.Hidden("guid", Model.ResetKey)  %>  
        <fieldset>
            <legend>Wachtwoord</legend>
            <p>
                <label for="InitialPassword">Wachtwoord:</label>
                <%= Html.Password("InitialPassword")%>
                <%= Html.ValidationMessage("InitialPassword", "*")%>
            </p>
            <p>
                <label for="ConfirmPassword">Bevestig Wachtwoord:</label>
                <%= Html.Password("ConfirmPassword")%>
                <%= Html.ValidationMessage("ConfirmPassword", "*")%>
            </p>
        </fieldset>        
        
        <p>
            <input type="submit" value="Reset wachtwoord" />
        </p>

    <% } %>
</asp:Content>
